home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d10
/
masdr54a.arc
/
DEMO.BAT
next >
Wrap
DOS Batch File
|
1991-04-27
|
2KB
|
56 lines
ECHO OFF
IF (%SDL%) == () SET SDL=S
IF (%SDL%) == () GOTO ENVIRON
sdl_get be %A%
Set A=%GET%
DEMOSCR
pause
sdl_get be %A%
ECHO * * *
ECHO This is the SDL DEMO (Copyright (c) 1987,88 Bob Stephan)
ECHO This demo assumes that the program file SDL.COM is
ECHO available in this directory on this disk, or in one
ECHO of the directories on your current PATH.
ECHO * * *
ECHO It also assumes that SDL.COM is in its default
ECHO configuration as provided on the original distribution
ECHO disk. If these conditions are not met, it will cause no
ECHO harm, but the displays probably will not correspond with
ECHO the descriptions, and you may see harmless error messages.
ECHO * * *
ECHO When asked a question a simple Return (Enter) will be taken as
ECHO a Y or Yes response. Pressing Esc will terminate the demo.
ECHO To exit at any point, hold down the Ctrl key and press C
ECHO (Ctrl-C), then answer Y to exit.
ECHO * * *
ECHO If you have a printer on line and loaded with paper,
ECHO we can include actual printing demonstrations. The printing
ECHO demos will be done on the paper in your printer, and will
ECHO change your Top of Form (TOF) setting, so you will have to
ECHO realign your paper when finished.
ECHO * * *
sdl_get N "Do you want to include printing demos (Y/n)? "
if errorlevel 126 goto end
IF ERRORLEVEL 89 DEMOSDL YES
sdl_get b
ECHO * * *
ECHO You have requested that we not use the printer. Ok,
ECHO but you will be missing a valuable feature of SDL.
ECHO Please run the printing demo at some time when it
ECHO can use the printer.
ECHO * * *
ECHO Please note! During the demo you will be given the
ECHO opportunity to press keys to interact with SDL.
ECHO The P, R, I, L, and T keys (in either upper or lower case)
ECHO are the keys that tell SDL to print a directory listing
ECHO if you bring up the print menu by pressing P.
ECHO If you do NOT want to print, please do not press any of
ECHO these keys. The demo will not try to print if you don't.
ECHO * * *
pause
DEMOSDL NO
:END
menu
:ENVIRON
MENU ENVIRON